]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
2 years agoibusManager: Use async await instead of callbacks
Sundeep Mediratta [Thu, 1 Aug 2024 23:18:33 +0000 (19:18 -0400)]
ibusManager: Use async await instead of callbacks

Code that uses async/await is often easier to follow than callbacks, in
particular as part of the code is already async.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agometainfo: Add URL to contribute
Balló György [Thu, 20 Jun 2024 13:53:28 +0000 (15:53 +0200)]
metainfo: Add URL to contribute

See: https://gitlab.gnome.org/GNOME/Initiatives/-/issues/51

# Conflicts:
# subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3374>

2 years agoUpdate Galician translation
Fran Dieguez [Mon, 2 Sep 2024 21:25:44 +0000 (21:25 +0000)]
Update Galician translation

2 years agostatus/network: Add user permissions to new wifi connections
Thore Sommer [Mon, 2 Sep 2024 08:39:46 +0000 (10:39 +0200)]
status/network: Add user permissions to new wifi connections

When creating a new NM connection they are by default system connections. A
user cannot create them if they don't have the correct polkit permissions
(org.freedesktop.NetworkManager.settings.modify.system).

If a user tried to add a new connection in the drop down menu, then they got
no password prompt and NM logged the following:
[...] audit: op="connection-add-activate" pid=1872 uid=1000 result="fail" \
reason="Insufficient privileges"

This change adds the current user to the user permissions for the new
connection, if the user has no permissions to modify the system connections,
which copies the behavior of GNOME Settings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3462>

2 years agoUpdate Lithuanian translation
Aurimas Černius [Mon, 2 Sep 2024 19:39:47 +0000 (19:39 +0000)]
Update Lithuanian translation

2 years agoauthPrompt: Allow to set a custom ShellUserVerifer
Alessandro Bono [Mon, 19 Aug 2024 08:42:08 +0000 (10:42 +0200)]
authPrompt: Allow to set a custom ShellUserVerifer

Move ShellUserVerifier creation to its own function so that
extensions can easily override it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7828
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3446>

2 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 2 Sep 2024 09:43:14 +0000 (09:43 +0000)]
Update Spanish translation

2 years agoUpdate Bulgarian translation
Alexander Shopov [Mon, 2 Sep 2024 08:35:57 +0000 (08:35 +0000)]
Update Bulgarian translation

2 years agoUpdate Bulgarian translation
twlvnn kraftwerk [Mon, 2 Sep 2024 08:27:27 +0000 (08:27 +0000)]
Update Bulgarian translation

(cherry picked from commit 4b3bc8f1cc21f04137419ef972c201354dcd3273)

2 years agoUpdate French translation
Irénée THIRION [Mon, 2 Sep 2024 07:17:13 +0000 (07:17 +0000)]
Update French translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 2 Sep 2024 06:38:47 +0000 (06:38 +0000)]
Update Thai translation

2 years agoBump version to 47.rc
Florian Müllner [Sat, 31 Aug 2024 15:30:50 +0000 (17:30 +0200)]
Bump version to 47.rc

Update NEWS.

2 years agoUpdate Turkish translation
Sabri Ünal [Sun, 1 Sep 2024 11:08:07 +0000 (11:08 +0000)]
Update Turkish translation

2 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 1 Sep 2024 08:20:10 +0000 (08:20 +0000)]
Update Kazakh translation

2 years agoUpdate Indonesian translation
Andika Triwidada [Sun, 1 Sep 2024 08:15:27 +0000 (08:15 +0000)]
Update Indonesian translation

2 years agoUpdate Polish translation
Piotr Drąg [Sat, 31 Aug 2024 13:37:33 +0000 (13:37 +0000)]
Update Polish translation

2 years agoci: Bump mutter image
Florian Müllner [Thu, 29 Aug 2024 14:35:23 +0000 (16:35 +0200)]
ci: Bump mutter image

Mutter bumped its pipewire requirement, pull it in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoRevert "ci: Include docutils in sysext image"
Florian Müllner [Thu, 29 Aug 2024 14:32:51 +0000 (16:32 +0200)]
Revert "ci: Include docutils in sysext image"

gnome-build-meta has been updated to pull in rst2man for
gnome-shell.

This reverts commit ef0341edacda2d915c14973afdeae77c647cb8c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoibus-candidate-popup: Scale coordinates from IBus
Jonas Ådahl [Thu, 29 Aug 2024 13:26:39 +0000 (15:26 +0200)]
ibus-candidate-popup: Scale coordinates from IBus

The coordinates are effectively in the windowing system coordinate
space, which when scaling Xwayland, we need to scale these. Do this with
the Meta.Window.protocol_to_stage() function on the focused window,
which handles it correctly for the corresponding windowing system and
configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3458>

2 years agoUpdate Portuguese translation
Hugo Carvalho [Fri, 30 Aug 2024 10:14:28 +0000 (10:14 +0000)]
Update Portuguese translation

2 years agoUpdate Korean translation
Changwoo Ryu [Thu, 29 Aug 2024 23:33:05 +0000 (23:33 +0000)]
Update Korean translation

2 years agotest/theme: Get ClutterSettings from the ClutterStage
Bilal Elmoussaoui [Fri, 23 Aug 2024 14:31:55 +0000 (16:31 +0200)]
test/theme: Get ClutterSettings from the ClutterStage

As the global getter is now gone

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3452>

2 years agoquick-settings: Handle interrupted menu animations
Dylan McCall [Fri, 9 Sep 2022 18:34:07 +0000 (11:34 -0700)]
quick-settings: Handle interrupted menu animations

If the menu is closed while it is being opened, we should skip the next
animation in the chain. Similarly, if a menu is opened while it is being
closed, we should continue the animation from the previous state instead
of resetting height to 0.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5843
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2481>

2 years agocleanup: Remove gnome-shell-extension-prefs wrapper
Florian Müllner [Wed, 28 Aug 2024 14:44:42 +0000 (16:44 +0200)]
cleanup: Remove gnome-shell-extension-prefs wrapper

After the old tool transformed into the extensions app, we added
a wrapper for compatibility with extensions that spawned the
command to open their preferences.

This was a long time ago.

As the ESM port happened since, we *know* that all extensions
are newer than that change. And as spawning the old prefs tool
is no longer accepted in review, no extension that is compatible
with current shell versions still does it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3456>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Wed, 28 Aug 2024 21:32:45 +0000 (21:32 +0000)]
Update Belarusian translation

2 years agoman: Use .rst suffix for sources
Florian Müllner [Wed, 28 Aug 2024 11:26:27 +0000 (13:26 +0200)]
man: Use .rst suffix for sources

It's more common to use the dedicated .rst suffix for reStructuredText
files, so now that the files were ported,
use that.

(Renaming the files separately from changing it is less likely
to confuse git, thus the separate commit)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoman: Port the man pages to reStructuredText
Florian Müllner [Wed, 28 Aug 2024 10:52:05 +0000 (12:52 +0200)]
man: Port the man pages to reStructuredText

It's as human-readable as asciidoc and produces the same results,
but the tooling is more widely supported. Also both GLib and GTK
switched to it for their man pages, so rst2man is already a
dependency of the platform.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agobuild: Stop pre-generating man pages
Florian Müllner [Wed, 28 Aug 2024 10:55:13 +0000 (12:55 +0200)]
build: Stop pre-generating man pages

The original asciidoc project is still stuck on python2, so on
distros that didn't switch to a fork (like Fedora), it pulls
in over 100M of legacy dependencies.

However we are about to move our man pages to reStructuredText
which doesn't have that issue, and which is already used for
GLib's and GTK's man pages.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoci: Include docutils in sysext image
Florian Müllner [Wed, 28 Aug 2024 13:30:50 +0000 (15:30 +0200)]
ci: Include docutils in sysext image

We need rst2man to switch from asciidoc to reStructuredText for
man pages. Pull it in ourselves until the change lands and
gnome-build-meta is updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agotests/dbus-runner: Pass along **kargs in setUpClass()
Jonas Ådahl [Wed, 28 Aug 2024 13:56:27 +0000 (15:56 +0200)]
tests/dbus-runner: Pass along **kargs in setUpClass()

This means gnomeshell_dbusrunner.py only need to bother with arguments
it needs to care about, which currently are none.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3455>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Tue, 27 Aug 2024 19:58:00 +0000 (19:58 +0000)]
Update Belarusian translation

2 years agodash: Show move cursor on app icon dnd to dash
Daniel Sheeler [Sat, 24 Aug 2024 16:01:20 +0000 (11:01 -0500)]
dash: Show move cursor on app icon dnd to dash

Previously, the 'copy' drag and drop cursor was displayed when dragging
an application icon to the dash (which adds the app to favorites),
but the operation is really a move, so ensure the 'move'
dnd cursor is used.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7819
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3453>

2 years agoci: Update gjs-ci-tools
Florian Müllner [Mon, 19 Aug 2024 18:30:46 +0000 (20:30 +0200)]
ci: Update gjs-ci-tools

The repository moved to a new namespace, so make sure we pick
up the change the next time we rebuild the JS image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3449>

2 years agoUpdate Occitan translation
Quentin PAGÈS [Mon, 26 Aug 2024 18:34:15 +0000 (18:34 +0000)]
Update Occitan translation

2 years agoUpdate Persian translation
Danial Behzadi [Mon, 26 Aug 2024 08:40:59 +0000 (08:40 +0000)]
Update Persian translation

2 years agoUpdate Czech translation
Daniel Rusek [Sun, 25 Aug 2024 13:04:37 +0000 (13:04 +0000)]
Update Czech translation

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Sat, 24 Aug 2024 15:54:44 +0000 (15:54 +0000)]
Update Norwegian Bokmål translation

2 years agoUpdate German translation
Jürgen Benvenuti [Sat, 24 Aug 2024 15:24:30 +0000 (15:24 +0000)]
Update German translation

2 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 24 Aug 2024 13:12:53 +0000 (13:12 +0000)]
Update Finnish translation

2 years agoUpdate Slovak translation
Jose Riha [Sat, 24 Aug 2024 10:12:49 +0000 (10:12 +0000)]
Update Slovak translation

2 years agoUpdate Chinese (China) translation
Luming Zh [Sat, 24 Aug 2024 05:28:40 +0000 (05:28 +0000)]
Update Chinese (China) translation

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 23 Aug 2024 09:31:00 +0000 (09:31 +0000)]
Update Ukrainian translation

2 years agoUpdate Catalan translation
Jordi Mas i Hernandez [Fri, 23 Aug 2024 08:48:23 +0000 (08:48 +0000)]
Update Catalan translation

2 years agoRemove text mipmapping disabling
Bilal Elmoussaoui [Tue, 20 Aug 2024 16:48:58 +0000 (18:48 +0200)]
Remove text mipmapping disabling

As it is now disabled by default in CoglPango as a preparation for
merging it inside libst in the future

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3451>

2 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Wed, 21 Aug 2024 16:59:00 +0000 (16:59 +0000)]
Update Brazilian Portuguese translation

2 years agoUpdate Belarusian translation
Vasil Pupkin [Wed, 21 Aug 2024 13:15:13 +0000 (13:15 +0000)]
Update Belarusian translation

2 years agoci: Bump CI/CD component version for building system extensions
Martin Abente Lahaye [Tue, 20 Aug 2024 15:54:12 +0000 (11:54 -0400)]
ci: Bump CI/CD component version for building system extensions

This new version allows us to specify a branch,  which will be needed
soon to freeze the GNOME OS version used in stable branches e.g. once
GNOME OS 47 is available.

See https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/872

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3450>

2 years agologinDialog: Don't assume this._user is always defined
Alessandro Bono [Mon, 19 Aug 2024 16:08:42 +0000 (18:08 +0200)]
loginDialog: Don't assume this._user is always defined

There are cases where this._user might be null when a session
is opened. This is because the user is not selected via GDM but
it is set through PAM. This happens when logging with smart card
or with credential managers, for example.

Given the session-id of the opened session, look for the owner.
This fixes the following error:
```
gnome-shell[153293]: TypeError: this._user is null

                     Stack trace:
                     _findConflictingSession@resource:///org/gnome/shell/gdm/loginDialog.js:1219:26
                     _onSessionOpened@resource:///org/gnome/shell/gdm/loginDialog.js:1254:51
                     @resource:///org/gnome/shell/ui/init.js:21:20
```

Fixes: df84854d9 ("loginDialog: On login, allow logout a conflicting session")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7526
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>

2 years agologinDialog: Get username directly from the conflicting session
Alessandro Bono [Mon, 19 Aug 2024 16:02:04 +0000 (18:02 +0200)]
loginDialog: Get username directly from the conflicting session

The conflicting session is owned by the same user per definition.
Use the Name property of the conflicting session to get the
username instead of assuming that `this._user` is defined and
passing the username around.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>

2 years agoorg.freedesktop.login1.Session: Sort alphabetically
Alessandro Bono [Mon, 19 Aug 2024 15:58:24 +0000 (17:58 +0200)]
org.freedesktop.login1.Session: Sort alphabetically

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>

2 years agologinDialog: Catch possible errors when session is opened
Alessandro Bono [Mon, 19 Aug 2024 09:47:45 +0000 (11:47 +0200)]
loginDialog: Catch possible errors when session is opened

Since commit df84854d9073c457d79d7c2e6a5750428c52ff01 the function
_onSessionOpened() is now async. This means that if an error occurs
we get the following warning:
```
gnome-shell[1014]: Unhandled promise rejection. To suppress this
warning, add an error handler to your promise chain with .catch()
or a try-catch block around your await expression. Stack trace of
the failed promise:
_onSessionOpened@resource:///org/gnome/shell/gdm/loginDialog.js:1166:27 @resource:///org/gnome/shell/ui/init.js:21:20
```

Follow the suggestion and add a try-catch block in order to reveal
what the error is. In the catch phase, reset the faded AuthPrompt
otherwise we can't retry with another user.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>

2 years agoUpdate Russian translation
Artur S0 [Mon, 19 Aug 2024 13:25:22 +0000 (13:25 +0000)]
Update Russian translation

2 years agost/theme-node-drawing: Fix corner pipeline leak
Jonas Ådahl [Mon, 15 Jul 2024 19:28:58 +0000 (21:28 +0200)]
st/theme-node-drawing: Fix corner pipeline leak

The corner pipelines state theme node paint state was not necessarily
free of existing pipelines, so make sure to free them before looking up
new ones.

This avoids leaking thousands of CoglPipeline instances after toggling
the overview a bunch of times.

Fixes: e1868cab1a ("st/theme-node-drawing: Factor in border radius in update_resources()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3421>

2 years agoci: Bump mutter image
Jonas Ådahl [Mon, 19 Aug 2024 09:47:34 +0000 (11:47 +0200)]
ci: Bump mutter image

We need a newer glib.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3447>

2 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 18 Aug 2024 07:04:55 +0000 (07:04 +0000)]
Update Basque translation

2 years agoUpdate Georgian translation
Ekaterine Papava [Sat, 17 Aug 2024 05:17:12 +0000 (05:17 +0000)]
Update Georgian translation

2 years agoUpdate Catalan translation
Jordi Mas [Wed, 14 Aug 2024 19:51:01 +0000 (21:51 +0200)]
Update Catalan translation

2 years agoUpdate Romanian translation
Daniel Șerbănescu [Wed, 14 Aug 2024 16:36:12 +0000 (16:36 +0000)]
Update Romanian translation

(cherry picked from commit 8eb5baff8c684c09ab7ed2ffa378f2f5f7ff2273)

2 years agodoap: Remove marge-bot maintainer entry
Sophie Herold [Mon, 12 Aug 2024 12:00:59 +0000 (12:00 +0000)]
doap: Remove marge-bot maintainer entry

marge-bot has had GNOME wide Developer access for a while, which should be sufficient.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3443>

2 years agoUpdate Greek translation
Giannis Antypas [Mon, 12 Aug 2024 20:48:50 +0000 (20:48 +0000)]
Update Greek translation

(cherry picked from commit fc29b8217066f43a92aab78afe1b22a1a793aa08)

2 years agoUpdate Hebrew translation
Yosef Or Boczko [Fri, 9 Aug 2024 12:26:58 +0000 (12:26 +0000)]
Update Hebrew translation

2 years agoci: Bump mutter image
Florian Müllner [Fri, 2 Aug 2024 23:40:31 +0000 (01:40 +0200)]
ci: Bump mutter image

Mutter now depends on gsettings-desktop-schemas 47.beta.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3441>

2 years agost/widget: Don't use notify for emitting accessibility changes
Bilal Elmoussaoui [Sat, 3 Aug 2024 21:29:12 +0000 (23:29 +0200)]
st/widget: Don't use notify for emitting accessibility changes

Reduces the overhead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3433>

2 years agost: Adapt to Cally merge inside of Clutter
Bilal Elmoussaoui [Fri, 2 Aug 2024 17:08:22 +0000 (19:08 +0200)]
st: Adapt to Cally merge inside of Clutter

ClutterActor has now a get_accessible_type that replaces
the StWidget one, switch to using that

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3433>

2 years agoUpdate Hungarian translation
Balázs Úr [Tue, 6 Aug 2024 15:18:03 +0000 (15:18 +0000)]
Update Hungarian translation

2 years agoBump version to 47.beta
Florian Müllner [Sat, 3 Aug 2024 17:45:59 +0000 (19:45 +0200)]
Bump version to 47.beta

Update NEWS.

2 years agostyle: Use unlinked rounded buttons for notifications
Sam Hewitt [Tue, 18 Jun 2024 17:33:19 +0000 (15:03 -0230)]
style: Use unlinked rounded buttons for notifications

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3427>

2 years agostyle: Use unlinked rounded buttons for notifications
Sam Hewitt [Tue, 18 Jun 2024 17:33:19 +0000 (15:03 -0230)]
style: Use unlinked rounded buttons for notifications

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3383>

2 years agoUpdate Turkish translation
Emin Tufan Çetin [Thu, 1 Aug 2024 18:00:21 +0000 (18:00 +0000)]
Update Turkish translation

2 years agotools: Import shell-lg from halfline's os-debug-scripts
Sebastian Wick [Mon, 29 Jul 2024 14:07:17 +0000 (16:07 +0200)]
tools: Import shell-lg from halfline's os-debug-scripts

It allows interacting with gnome-shell in the same way as looking glass
but does so from a terminal. This can be really useful in some
situations.

Imported from: https://github.com/halfline/os-debug-scripts

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3430>

2 years agojs: Remove modelines
Florian Müllner [Tue, 30 Jul 2024 16:14:00 +0000 (18:14 +0200)]
js: Remove modelines

We already include an .editorconfig that is supported by many
editors, including emacs, so no need to repeat an emacs-specific
modeline in every source file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3431>

2 years agocleanup: Remove left-over config file
Florian Müllner [Tue, 30 Jul 2024 16:47:34 +0000 (18:47 +0200)]
cleanup: Remove left-over config file

In the early days of shell development, someone accidentally pushed
their eclipse configuration. Most of it was removed at one point,
but one file was missed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3432>

2 years agodoc: Link to GNOME handbook tutorial for toolbox development
sorelz [Sun, 21 Jul 2024 19:58:22 +0000 (15:58 -0400)]
doc: Link to GNOME handbook tutorial for toolbox development

Link gnome-shell's toolbox README to the troubleshooting section
of the toolbox page at handbook.gnome.org, to make it easier to
find information on common toolbox development issues.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7598
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3424>

2 years agoUpdate Hindi translation
Scrambled 777 [Mon, 29 Jul 2024 18:38:34 +0000 (18:38 +0000)]
Update Hindi translation

2 years agooverview: Drop unused ShellInfo object
Julian Sparber [Thu, 7 Mar 2024 15:29:31 +0000 (16:29 +0100)]
overview: Drop unused ShellInfo object

This object isn't used anymore and it's really easy to create a new
system notification via the appropriate notification source.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3387>

2 years agoappFavorites: Display its own notification for every pin/unpin
Julian Sparber [Thu, 7 Mar 2024 15:24:44 +0000 (16:24 +0100)]
appFavorites: Display its own notification for every pin/unpin

Show a notification for each user action instead of updating the
notification currently displayed when the user pins or unpins.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3387>

2 years agostatus/network: Fix enterprise network connecting from panel
Tuomas Nurmi [Thu, 25 Jul 2024 07:14:22 +0000 (07:14 +0000)]
status/network: Fix enterprise network connecting from panel

Use the right variable. A static WirelessNetwork._securityTypes
variable does exist, but the correct variable when checking
autoconnect possibility is this._securityType; this._securityTypes
is undefined, causing clicking an enterprise network name in panel
network selector do nothing instead of properly opening GNOME
Settings panel.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7698

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3426>

2 years agoMake startup animation use async functions throughout
Will Thompson [Fri, 19 Jul 2024 13:11:15 +0000 (14:11 +0100)]
Make startup animation use async functions throughout

During session startup, we have the following chain:

    LayoutManager._prepareStartupAnimation()
    `- LayoutManager._startupAnimation()
       `- LayoutManager._startupAnimationComplete()       (a)
       | or
       `- LayoutManager._startupAnimationGreeter()        (b)
       | or
       `- LayoutManager._startupAnimationSession()        (c)
          `- Overview.runStartupAnimation()               (d)
             `- OverviewActor.runStartupAnimation()       (e)
                `- ControlsManager.runStartupAnimation()  (f)

Branch (b) calls LayoutManager._startupAnimationComplete() once the
animation is complete. Branch (c) does the same, except that
ControlsManager.runStartupAnimation() is an async function that awaits
LayoutManager.ensureAllocation().

LayoutManager._prepareStartupAnimation() is an `async` function, and its
caller catches & logs any error it raises.

Previously, ControlsManager.runStartupAnimation() – (f) in the above
diagram – was declared `async`, because it uses `await` internally, but
also accepted a callback, which was called on successful completion of
the function and the animation it triggers.

If an exception is raised during execution of the function, its callback
would never be called, and because the promise it implicitly returns is
discarded, the exception would never be logged either. And, stepping a
few levels up the call stack, the callback that
LayoutManager._startupAnimationSession() (c) provided would never be
called, and so LayoutManager._startupAnimationComplete() would never be
called, meaning the cover pane that prevents input would never be
removed and the session would be unusable.

Remove the callback parameter from ControlsManager.runStartupAnimation()
(f), and instead make it resolve in the case where the callback would
previously have been called.

Remove the callback parameter from OverviewActor.runStartupAnimation()
(e) – it is just a wrapper around ControlsManager.runStartupAnimation().

Adjust Overview.runStartupAnimation() (d) accordingly: rather than
passing a callback to OverviewActor.runStartupAnimation(), await its
return and then proceed. There is a slight behaviour change here:
previously, in the branch where this._syncGrab() is false, the callback
would be called before calling this.hide(), whereas now this.hide() is
called before the async function returns.

Adjust LayoutManager._startupAnimationSession() and its siblings to be
async, rather than each calling _startupAnimationComplete() directly.
Finally, in _prepareStartupAnimation()  await _startupAnimation() either
succeeding or failing, and in either case call
_startupAnimationComplete(), removing the cover pane that prevents all
input.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3428>

2 years agoUpdate Slovenian translation
Martin [Fri, 26 Jul 2024 11:36:44 +0000 (11:36 +0000)]
Update Slovenian translation

2 years agoUpdate Czech translation
Daniel Rusek [Fri, 26 Jul 2024 10:18:35 +0000 (10:18 +0000)]
Update Czech translation

2 years agobuild: Add option to disable portal-helper
Florian Müllner [Wed, 12 Jun 2024 11:13:41 +0000 (13:13 +0200)]
build: Add option to disable portal-helper

The portal login window uses WebKit, which is a security-sensitive
component that not all vendors want to support.

Support that case with a build option, and update the captive
portal handler to use the user's default browser if the portal-helper
is disabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>

2 years agostatus/network: Show notification when detecting captive portal
Florian Müllner [Wed, 12 Jun 2024 11:13:41 +0000 (13:13 +0200)]
status/network: Show notification when detecting captive portal

When NetworkManager detects limited connectivity, we currently
pop up the portal helper window immediately. This can both be
disruptive when it happens unexpectedly, and unnoticeable
when it happens during screen lock.

In any case, it seems better to not pop up a window without
explicit user action, so instead show a notification that
launches the portal window when activated.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7688
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>

2 years agonetwork: Split out CaptivePortalHandler class
Florian Müllner [Wed, 12 Jun 2024 11:13:41 +0000 (13:13 +0200)]
network: Split out CaptivePortalHandler class

The handling of captive portals is going to be extended a bit,
so split out a proper class instead of mixing it in with the
indicator code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>

2 years agoscreencastService: Add gstreamer pipeline for h264 low-power hw encode
José Relvas [Thu, 11 Jul 2024 19:31:11 +0000 (20:31 +0100)]
screencastService: Add gstreamer pipeline for h264 low-power hw encode

VA-API low-power encoder profiles (such as vah264lpenc) reduce power consumption by relying entirely on fixed-function hardware blocks.
Use vah264lpenc over vah264enc by default, in order to save on energy and 3D engine capacity.

Signed-off-by: José Relvas <josemonsantorelvas@gmail.com>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3416>

2 years agolookingGlass: Make it possible to export the DebugControl service
Sebastian Wick [Wed, 24 Jul 2024 20:33:59 +0000 (22:33 +0200)]
lookingGlass: Make it possible to export the DebugControl service

Mutter has a new tool for interacting with mutter with features we don't
expose to users yet. It can be exported as a dbus service but it is not
done so by default. This adds an easy way to do so without having to
remember some JS snippet.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3425>

2 years agoUpdate Chinese (Taiwan) translation
Chao-Hsiung Liao [Wed, 24 Jul 2024 10:12:34 +0000 (10:12 +0000)]
Update Chinese (Taiwan) translation

(cherry picked from commit 93027ab1f40f03d28420ebddd8267646f3912ac7)

2 years agoappDisplay: Use AppFolderDialog grabHelper to obtain key focus on popup()
sorelz [Tue, 2 Jul 2024 20:17:35 +0000 (16:17 -0400)]
appDisplay: Use AppFolderDialog grabHelper to obtain key focus on popup()

When an app folder is opened it would do so without grabbing the
keyboard focus, so one could not navigate with the arrow keys without
pressing Tab. This adds the focus parameter to popup()'s grab, which
sets the key focus to the elements of the folder when it is opened.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3338>

2 years agoappDisplay: Use navigate_focus() to keep focus after editing app folder title
sorelz [Mon, 1 Jul 2024 23:52:33 +0000 (19:52 -0400)]
appDisplay: Use navigate_focus() to keep focus after editing app folder title

The AppFolderDialog would lose keyboard focus after editing the title
(likely due to the folder entry grabbing key focus). This commit adds
navigate_focus() to _showFolderLabel() to send key focus back to the
dialog's elements after editing the title.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3338>

2 years agoappDisplay: Use navigate_from_event() for keyboard focus in app folders
sorelz [Wed, 22 May 2024 22:24:39 +0000 (23:24 +0100)]
appDisplay: Use navigate_from_event() for keyboard focus in app folders

It wasn't possible to navigate by keyboard inside app folders due
to the focus being grabbed by the dialog. Changed vfunc_key_press_event()
to use the focus manager's navigate_from_event(), which is the same method
used by modal dialogs (also making use of the focus group already assigned
to AppFolderDialog).

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6331
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3338>

2 years agoUpdate Slovenian translation
Martin [Fri, 19 Jul 2024 20:41:47 +0000 (20:41 +0000)]
Update Slovenian translation

2 years agooverviewControls: Make sure startup animation completes
Will Thompson [Fri, 19 Jul 2024 13:11:15 +0000 (14:11 +0100)]
overviewControls: Make sure startup animation completes

In commit e69da36095d5093c1c7bec7a9c96c079c0b837f9, Florian Müllner
wrote:

> We currently complete the animation using an onComplete handler,
> which only runs if the corresponding transition was stopped when
> finished.
>
> While it is unexpected that the transition is interrupted, it can
> apparently happen under some circumstances (like VMs with qlx).
> The consequences of that are pretty bad, mainly due to the cover
> pane that prevents input during the animation not getting removed.
>
> Address this by always completing the animation when the transition
> is stopped, regardless of whether it completed or not.

There are effectively four branches of the startup animation:

1. if Meta.is_restart() is true, no animation is run on startup; I
   believe this is the X11-only case of restarting the shell
   mid-session.
2. if Main.sessionMode.isGreeter is true, just the panel is eased onto
   the screen; this is the GDM case.
3. if Main.sessionMode.hasOverview is true, then a whole sequence of
   animations are run; this is the normal session case.
4. otherwise, the whole UI zooms in to full size, and from full
   transparency to full opacity; this is the Initial Setup case.

The fix above handles cases 2 and 4, but not 3. This patch applies the
same fix to case 3, so that the callback is always called on session
startup even if the transition is interrupted.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3422>

2 years agocomponents/autorunManager: Add description to autorun notification
Julian Sparber [Tue, 6 Feb 2024 15:38:19 +0000 (16:38 +0100)]
components/autorunManager: Add description to autorun notification

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3168>

2 years agostyle: Text and icon weight adjustments
Sam Hewitt [Wed, 10 Jul 2024 17:06:25 +0000 (14:36 -0230)]
style: Text and icon weight adjustments

- bump the font weight of the clock
- lower the font weight of user names
- adjust avatar weight

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3410>

2 years agoci: Rebuild javascript image
Florian Müllner [Thu, 11 Jul 2024 17:46:52 +0000 (19:46 +0200)]
ci: Rebuild javascript image

The eslint job occasionally fails because node hits an
illegal-instruction error. There's a chance that a package
update fixed that issue in the meantime, so rebuild the image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3415>

2 years agoscreenshot: Capitalize file names
kramo [Mon, 15 Jul 2024 17:39:27 +0000 (17:39 +0000)]
screenshot: Capitalize file names

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3420>

2 years agoci: Bump mutter image
Florian Müllner [Fri, 19 Jul 2024 18:03:38 +0000 (20:03 +0200)]
ci: Bump mutter image

Mutter now depends on a newer libinput version. Bump the image
to pull in that dependency.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3423>

2 years agoUpdate Turkish translation
Sabri Ünal [Fri, 19 Jul 2024 15:14:19 +0000 (15:14 +0000)]
Update Turkish translation

2 years agoAdapt to required CoglContext params
Bilal Elmoussaoui [Sat, 29 Jun 2024 17:08:32 +0000 (19:08 +0200)]
Adapt to required CoglContext params

They used to retrieve it from a global variable which we are trying to
remove from mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3402>

2 years agoci: Build and publish system extensions
Martin Abente Lahaye [Fri, 21 Jun 2024 18:21:42 +0000 (14:21 -0400)]
ci: Build and publish system extensions

Use gnomeos-build-sysext CI/CD component to build a system extension
for gnome-shell. This is part of on-going efforts discussed here [1].

[1] https://discourse.gnome.org/t/towards-a-better-way-to-hack-and-test-your-system-components/21075

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3390>

2 years agoci: Support additional destdir in install-meson-project.sh
Martin Abente Lahaye [Sat, 13 Jul 2024 03:52:01 +0000 (23:52 -0400)]
ci: Support additional destdir in install-meson-project.sh

To build a system extension we need to:

1. Add dependencies to the container (to build it), and also
2. Add dependencies to the extension (to run it, later).

So there's effectively two locations where we need to install
those dependencies.

See https://discourse.gnome.org/t/towards-a-better-way-to-hack-and-test-your-system-components/21075
See https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/837

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3390>